#ifndef SCHOOLDATA_H
#define SCHOOLDATA_H

#include <QWidget>

class ClassData;
class SchoolData {
public:
    SchoolData();
    void setSchoolName(const QString& schoolName)
    {
        m_schoolName = schoolName;
    }
    QString getSchoolName() const { return m_schoolName; }

    QList<ClassData*> getClassList() const { return m_classDataList; }
    void appendClassList(ClassData* classData) { m_classDataList.append(classData); }
    void removeClassList(const int& listNum) { m_classDataList.removeAt(listNum); }

private:
    QString m_schoolName;
    QList<ClassData*> m_classDataList;
};

#endif // SCHOOLDATA_H
